package es.entel.youroute.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.ListBox;
import com.google.gwt.user.client.ui.RootPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Youroute implements EntryPoint {
	final ListBox list = new ListBox();    
  /**
   * This is the entry point method.
   */
  public void onModuleLoad() {
    
    
    list.setMultipleSelect(true);
    list.setHeight("400px");
    list.setWidth("100px");
    seleccionarRuta(null);
    RootPanel.get("listaPuntos").add(list);
  }
  
  
  private void seleccionarRuta(String ruta){
	  list.addItem("123  315");
	    list.addItem("100  356");
	    list.addItem("50  400");
	    list.addItem("12  300");
  }
}
